#!/bin/sh

rm -rf tmp out doc
output=doc

rm -rf $output

js() { jsdoc -c=jsdoc.json -d=$output $@ ; }
j2() { ../../node_modules/.bin/jsdoc --verbose -c jsdoc.json $@ ; }
yd() { ../../node_modules/.bin/yuidoc -o $output . $@ ; }
dx() { doxygen Doxyfile $@ ; }
nd() { 
    rm -rf tmp
    mkdir -p tmp
    mkdir -p ${output}
    naturaldocs -i . -o HTML doc -p tmp -xi ${out} -xi ${output} $@
}

js $@ 

# 
# EOF
#

